from rest_framework import serializers
from.models import Doctor, DoctorSchedule, ConsultRecord

class DoctorSerializer(serializers.ModelSerializer):
    class Meta:
        model = Doctor
        fields = '__all__'

class DoctorScheduleSerializer(serializers.ModelSerializer):
    class Meta:
        model = DoctorSchedule
        fields = '__all__'

class ConsultRecordSerializer(serializers.ModelSerializer):
    class Meta:
        model = ConsultRecord
        fields = '__all__'